package org.ahuanlien.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Getter@Setter
public class TemOrder {
    private Long id;

    private String sn;//保单编号

    private Client holder;//投保人

    private Car carNo;//车牌号

    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date aDate;//申请日期

    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date pDate;//核保日期

    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dDate;//保险截止日期

    private Integer year;//保险年限
    private Employee opUser;//业务员
    private Employee auditor;//审核人
    private BigDecimal totalAmount;//投保总金额
    private Boolean state;//状态
    private String item;//保险的车辆信息

    private Product product;//保险产品信息
}